﻿using IM.Easy.Entity.System;
using IM.Easy.SystemServices.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IM.Easy.SystemServices.IServices
{
    public interface IVueRouteService
    {
        /// <summary>
        /// 通过菜单生成路由信息
        /// </summary>
        /// <param name="menus">菜单列表</param>
        /// <returns>路由信息列表</returns>
        List<VueRoute> GenerateRoute(List<SysMenu> menus, bool useLayout = true);
    }
}
